package reflection;

import java.util.ArrayList;
import java.util.List;

public class Test2 {
	public static void main(String[] args) {
		List<Integer> list = new ArrayList<Integer>();
		
		Class c = list.getClass();
		
		Class[] cls = c.getInterfaces();
		
		for(Class cl: cls) {
			System.out.println(cl.getName());
		}
	}

}
